ddns-scripts: stash the next check time
authorPaul Donald <[email protected]>
Thu, 18 Sep 2025 23:21:05 +0000 (01:21 +0200)
committerFlorian Eckert <[email protected]>
Tue, 23 Sep 2025 07:12:10 +0000 (09:12 +0200)
commit1463d79bdf2decb0260b70443f94e54ebafc5754
tree479cd4872c466fe5292db7967869a452e09cdc44
parent296c15c1f222b0c29de27f6f393c550275c79878
ddns-scripts: stash the next check time

Calculating the next check time based on the last update time is not
very accurate if the next check is a large multiple forwards from the
last update time because the cumulative sleeps and wake times are not
exact but best effort of the OS. Other factors including clock-drift
give rise to a larger time discrepancy the further the next update is in
the future.

Stash the next check time which should be quite accurate since it's
only one sleep instance away. This is also for use in the GUI.

Tested on 24.10.2

Signed-off-by: Paul Donald <[email protected]>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh